<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="cn.edu.nju.ws.sview.Config,java.util.Enumeration" %>
<%@page import="cn.edu.nju.ws.sview.mail.*" %>
<%@page import="cn.edu.nju.ws.sview.servlets.*" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Join into SView </title>
<link rel="icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="/sview/css/bootstrap_button.min.css" />
<link rel="stylesheet" type="text/css" href="/sview/css/register.css" />
<script type="text/javascript" src="/sview/script/jquery.js"></script>
<script type="text/javascript" src="/sview/script/register.js"></script>
<script type="text/javascript" src="/sview/script/global.js"></script>
</head>
<body>
<%
     String uid = (String)request.getSession().getAttribute("code");
	 String email =  (String)request.getSession().getAttribute("email") ;
	 String from =  (String)request.getSession().getAttribute("from");
	 request.getSession().setAttribute("from", from);
	 String addr="http://"+Email.mailaddr(email);
%>
<div class="header_bar" style="height:45px;background-color:#000000">
<div class="bar-box">
<img src="/sview/icons/logo_white.png">
<div class="set_language">
   <%
   		String location = "/sview/ConfirmMail.jsp";
 		if(from!=null){
	 		from = java.net.URLEncoder.encode(from,"utf-8") ;
	 		location = location+"?from="+from;
 		}
		String location_zh ="/sview/ConfirmMail_zh.jsp?lang=zh" ;
 		if(from!=null)
 		location_zh = location_zh+"&from="+from;
   %>
   <a class="op_lang" href="<%=location%>">English</a>
   <a class="op_lang" href="<%=location_zh%>">中文(简体)</a>
</div>
</div>
</div>
<div id="container" class="container">
   <div id="register_section" class="section">
   <form action=<%= addr %> method="post" id="registerForm">
        <div>
        	<label></label>
        	进入邮箱激活您的账号
        </div>
        <br>
        <div>
        	<label></label>
        	<input type='submit' class='form-button btn btn-success' value="进入邮箱" />
        </div> 
        </form>
	</div>
</div>
<jsp:include page="/vfooter_zh.jsp"></jsp:include>
</body>
</html>